package cn.itcast.feign.config;

import cn.itcast.feign.clients.fallback.UserClientFallback2;
import feign.Logger;
import org.springframework.context.annotation.Bean;

public class FeignConfig {
    @Bean
    public Logger.Level logLevel(){
        return Logger.Level.BASIC;
    }
    @Bean
    public UserClientFallback2 userClientFallback2(){
        return new UserClientFallback2();
    }
}
